package com.billing.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.billing.model.dao.UserBeanMapper;
import com.billing.model.dao.UserPayCopyMapper;
import com.billing.model.entity.TUser;
import com.billing.model.entity.UserBean;
import com.billing.service.UserBeanService;

@Service
public class UserBeanServiceImpl implements UserBeanService {

	@Resource
	private UserPayCopyMapper userPayCopyMapper;
	@Resource
	private UserBeanMapper userBeanMapper;
	public List<UserBean> getUserBeanList(Long starttime, Long endtime,String taxableTime,int organizationid) {
		return userPayCopyMapper.getUserBeanList(starttime, endtime,taxableTime,organizationid);
	}

	public List<TUser> getAllUserListByApp(int orgid,String userid) {
		return userBeanMapper.getAllUserListByApp(orgid,userid);
	}

	@Override
	public TUser getUserList(String customaryOrganizationid,String userid) {
		return userBeanMapper.getUserList(customaryOrganizationid,userid);
	}

}
